function toneSeq = GenerateToneSequence(seqLen,outputFile)

toneSeq = rand(1,seqLen);
toneSeq = toneSeq > 0.5;
toneSeq = toneSeq + 1;

fileID = fopen(outputFile,'w');

for i=1:(seqLen-1)
    fprintf(fileID, [num2str(toneSeq(i)) '\n']);
end

fprintf(fileID, num2str(toneSeq(i)));

fclose(fileID);